toolbar: deprecate GtkToolbarSpaceStyle and space-style style property
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 30 Dec 2015 01:33:08 +0000 (17:33 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Sun, 3 Jan 2016 08:41:32 +0000 (00:41 -0800)
This is completely unused already.

gtk/gtktoolbar.c
gtk/gtktoolbar.h

index f5d7fb298bf6dddf957a27a26ca59f88fd3d63c9..ecc7832d169433a53d09ab983297d42430821e60 100644 (file)
@@ -631,13 +631,21 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
                                                              G_MAXINT,
                                                              GTK_PARAM_READABLE));
 
+  /**
+   * GtkToolbar:space-style:
+   *
+   * Style of toolbar spacers.
+   *
+   * Deprecated: 3.20: Use CSS properties on the separator elements to style
+   *   toolbar spacers; the value of this style property is ignored.
+   */
   gtk_widget_class_install_style_property (widget_class,
                                           g_param_spec_enum ("space-style",
                                                              P_("Space style"),
                                                              P_("Whether spacers are vertical lines or just blank"),
                                                               GTK_TYPE_TOOLBAR_SPACE_STYLE,
                                                               DEFAULT_SPACE_STYLE,
-                                                              GTK_PARAM_READABLE));
+                                                              GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
   
   gtk_widget_class_install_style_property (widget_class,
                                           g_param_spec_enum ("button-relief",
index f91ecfbb4fb014b756980e56248a5cc00c18a956..9937579297f82a7b1136fd5f9812910a583f50b0 100644 (file)
@@ -54,6 +54,8 @@ G_BEGIN_DECLS
  * @GTK_TOOLBAR_SPACE_LINE: Use vertical lines for spacers.
  *
  * Whether spacers are vertical lines or just blank.
+ *
+ * Deprecated: 3.20
  */
 typedef enum
 {